package cn.tedu.lonnghospital.appointment.web;

public enum ServiceCode {
    OK(20000),
    ERROR_BAD_REQUEST(40000),
    ERROR_NOT_FOUND(40400),
    ERROR_CONFLICT(40900),
    ERROR_INSERT(50000),
    ERROR_DELETE(50100),
    ERROR_UPDATE(50200),
    ERROR_UNKNOWN(99999);

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    private Integer value;
    ServiceCode(Integer value){
        this.value=value;
    }
}
